﻿using MediatR;

namespace RBACDuYaJun.Api.Appliction.Command.UserCommand
{
    public class UserCreateCommand:IRequest<int>
    {
        /// <summary>
        /// 账号
        /// </summary>
        public string? userInfoName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? password { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string? userName {  get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool userSex {  get; set; }
        /// <summary>
        /// 所在省
        /// </summary>
        public int provinceId {  get; set; }
        /// <summary>
        /// 所在市
        /// </summary>
        public int cityId {  get; set; }
        /// <summary>
        /// 所在县
        /// </summary>
        public int countryId {  get; set; }
        /// <summary>
        /// 具体地址
        /// </summary>
        public string? userAddress {  get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public int departmentId {  get; set; }


    }
}
